package actions;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String word = "papa";
		char guess = 'p';
		for (int index = word.indexOf(guess);index >= 0;index = word.indexOf(guess, index + 1))
		{
			System.out.println(index);
		}

	}

}
